public class ObjPrereq{
   private String before, after, degree, major;
   ObjPrereq(){
      before = null;
      after = null;
      degree = null;
      major = null;
   }
   ObjPrereq(String before, String after, String major, String degree){
      this.before = before;
      this.after = after;
      this.degree = degree;
      this.major = major;   
   }
   /** setters */
   public void setBefore(String s){ before = s; }
   public void setAfter(String s){ after = s; }
   public void setMajor(String s){ major = s; }
   public void setDegree(String s){ degree = s;}
   /** getters */
   public String getBefore(){ return before; }
   public String getAfter(){ return after; }
   public String getMajor(){ return major; }
   public String getDegree(){ return degree;}
   
}